package el;

public class add {

    public static int add(int a){

        int sum = 0;

        for (int i= 0;i<=a;i++){
            sum = sum + i;
        }

        return sum;

    }
}